package com.example.websocket.config.core.json.annotation;

import com.example.websocket.config.core.json.extender.FieldExtender;

import java.lang.annotation.*;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ExtendField {
    // 扩展字段的名称
    String name() default "";

    // 扩展字段的处理器类
    Class<? extends FieldExtender> extender();
}
